package com.eight.common.constant;

/**
 * 考试常量信息
 * 
 * @author eight
 */
public class ExamConstants
{
    /**
     * 暂存考生答卷信息
     */
    public static final String TEMP_EXAM = "TempExam";

    /**
     * 暂存阅卷信息
     */
    public static final String TEMP_MARK = "TempMark";

    /**
     * 考试成员阅卷列表
     */
    public static final String EXAMINEE_MARK_QUEUE = "examineeMarkQueue:%s";

    /**
     * 试卷试题分组，即大题
     */
    public static final String PAPER_GROUPS = "groups";

    /**
     * 试卷试题分组
     */
    public static final String PAPER_QUESTIONS = "questions";

    /**
     * 试卷单题阅卷标记
     */
    public static final String MARK = "mark";

    /**
     * 题目类型
     */
    public static final String QUESTIONTYPE = "questionType";

    /**
     * 单个题目得分
     */
    public static final String EXAMINEESCORE = "examineeScore";

    /**
     * 试题正确标识，1是0否
     */
    public static final String CORRECT = "correct";

    /**
     * 题目答案
     */
    public static final String ANSWER = "answer";

    /**
     * 主观题答案信息key
     */
    public static final String QUESTION_ANSWERS = "answers";

    /**
     * B1题目子题目key
     */
    public static final String QUESTION_CHOICES = "choices";

    /**
     * A3A4子题
     */
    public static final String A3A4_QUESTIONS = "questions";

    /**
     * 试题设置分值
     */
    public static final String QUESTION_SCORE = "score";

    /**
     * 题目解析
     */
    public static final String EXPLAIN = "explain";

    /**
     * 考生评语
     */
    public static final String COMMENT = "comment";

    /**
     * 试题类型名称
     */
    public static final String QUESTIONTYPE_NAMES = "单选题;多选题;填空题;名词解释;简答题;分析题;论述题;B1配伍题;A3A4单选题;A3A4多选题;判断题;影像题";

    /**
     * 试题导入预设数量
     */
    public static final String QUESTION_IMPORT_PRESET_AMOUNT = "questionImport:%s:presetAmount";

    /**
     * 试题导入成功数量
     */
    public static final String QUESTION_IMPORT_SUCCESS_AMOUNT = "questionImport:%s:successAmount";

    /**
     * 试题导入失败信息
     */
    public static final String QUESTION_IMPORT_FAIL_INFO = "questionImport:%s:failInfo";

    /**
     * 默认仓库id,预留字段，多租户使用
     */
    public static final Integer REPO_ID = 1;

    /**
     * 试题导入线程处理每次分组
     */
    public static final Integer QUESTION_EXPORT_SIZE = 30;

    /**
     * 导入判断题，答案为正确标识
     */
    public static final String QUESTION_TRUE = "正确";

    /**
     * 导入判断题，答案为错误标识
     */
    public static final String QUESTION_FALSE = "错误";

    /**
     * 试卷导出预设数量
     */
    public static final String EXAM_EXPORT_PRESET_AMOUNT = "examExport:%s:presetAmount";

    /**
     * 试卷导出成功数量
     */
    public static final String EXAM_EXPORT_SUCCESS_AMOUNT = "examExport:%s:successAmount";

    /**
     * 试卷导出失败信息
     */
    public static final String EXAM_EXPORT_FAIL_INFO = "examExport:%s:failInfo";
}
